import { computed } from 'vue';

const showVip = computed(() => (item: any): boolean => {
	let flag: boolean = false;
	if (item.is_vip && item.vip_open_time) {
		if (new Date(item.vip_open_time).getTime() > new Date().getTime()) {
			flag = true;
		}
	}
	return flag;
});

export default showVip;
